package com.kai.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/*
快递员接单DTO
 */
@Data
public class CourierPickUpDTO implements Serializable {

    //快递员id
    private Long courierId;

    //订单id
    private Long orderId;

    //订单截止送达时间
    private LocalDateTime orderDeliveryDeadline;

    //接单时间
    private LocalDateTime acceptTime;

    //取件时间
    private LocalDateTime pickUpTime;

    //送达时间
    private LocalDateTime deliveryTime;

    //更新时间
    private LocalDateTime updateTime;

}
